Enable remindAll button even after event start. #2532
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The remindAll button now shows both before the event and during the event
Description
In the event page, participant tab, there is a button for sending reminders. Before this change, this button is only available before the event start date.
Logic after this change:
Screenshots
How it looks during the event. You could still send reminders.
![image](https://private-user-images.githubusercontent.com/28064745/408856738-27620e2b-5076-488f-814e-ae245257bcfa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDM1NDYsIm5iZiI6MTczOTMwMzI0NiwicGF0aCI6Ii8yODA2NDc0NS80MDg4NTY3MzgtMjc2MjBlMmItNTA3Ni00ODhmLTgxNGUtYWUyNDUyNTdiY2ZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE5NDcyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY2N2E1YmIxNzAyYTE2ZjUwOGFhZTkwMmM3ZWU1ODVlNWI1MGFjNjhmZDUyYzdlYzc0NjkyM2E2ZWY1OTJlNDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Xw5Eh2_HGslptPPndEMVhXpuSBL7Y6G0MUGUqBSIDU8)
Changes
Notes to reviewer
You find more details in the issue #2433
Try manipulating the event start-date and end-date for all 3 possible cases:
Related issues
Resolves #2433